﻿using System;
using System.ServiceModel;
using ExplorerService.Common.DataContracts.Operations.OperationProgress;

namespace ExplorerService.Common.ServiceContracts
{
    /// <summary>
    /// Callback contract for operations
    /// </summary>
    [ServiceContract]
    public interface IClientOperationServiceCallback
    {
        /// <summary>
        /// Posts the operation progress to the client
        /// </summary>
        [OperationContract(IsOneWay = true)]
        void OperationProgress(Guid applicationSessionId, OperationProgress progress);
    }
}